package com.hy.demo.learn.spring.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *
 * </p>
 *
 * @author cjl
 * @version 1.0
 * @since 2020-07-28 14:56
 */
@Slf4j
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello() {
        String str = "Hello Word !";
        log.info("str === {}", str);
        return str;
    }
}
